<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
	<head>
		<title>页面标题</title>
		<%@ include file="/commons/meta.jsp"%>
		<%@ include file="/widgets/calendar/calendar.jsp"%>
		<script language=javascript src="${ctx}/scripts/date/wpCalendar.js"></script>
		<script type="text/javascript">
			function getProcessXmlFromJava(){
				return document.ProcessDefinitionForm.xml.value;
  			}
		</script>
	</head>
	<body>

		<div class="albox">
			<!--统一信息头部开始-->
			<ul>
				<li>
					<img src="${templateVo.styleImagePath}/list9.gif" />
				</li>
				<li style="width: 99%">
					<table width="100%" border="0" cellspacing="0" cellpadding="0"
						align="center" class="albox1">
						<tr>
							<td width="2%">
								<img src="${templateVo.styleImagePath}/ico_clock1.gif" />
							</td>
							<td width="4%">
								<a href="javascript:void(history.back())">返回</a>
							</td>
							<td width="2%"></td>
							<td width="4%">
							</td>
							<td width="2%"></td>
							<td width="4%">
							</td>
							<td width="2%"></td>
							<td width="4%">
							</td>
							<td width="40%">
								&nbsp;
							</td>
							<td width="2%"></td>
							<td width="6%">
							</td>
							<td width="2%"></td>
							<td width="5%">
							</td>
						</tr>
					</table>
				</li>
				<li style="float: right;">
					<img src="${templateVo.styleImagePath}/list10.gif" />
				</li>
			</ul>
			<!--统一信息头部结束-->
		</div>

		<div style="width: 100%; float: left;">
			<table width="100%" border="0" cellspacing="0" cellpadding="0"
				align="center">
				<tr>
					<td class="edittit" align="center">
						查看流程定义
					</td>
				</tr>
				<tr>
					<td align="center">
						&nbsp;
					</td>
				</tr>
			</table>
			<html:form action="/ProcessDefinitionAction.do" >
				<input type="hidden" name="method" value="save" />
				<html:hidden property="id" />
				<html:hidden property="xml" value="${processDefinition.processXml}"/>
				<table width="98%" border="1" cellspacing="1" cellpadding="2">
				    
					<tr class=tr001>
						<td width=15% align=right bgcolor='#F7F7F7'>流程名称：</td>
						<td bgcolor='#Ffffff'>${processDefinition.name}&nbsp;</td>
					</tr>
					<tr class=tr001>
						<td width=15%  align=right bgcolor='#F7F7F7'>所属专业：</td>
						<td bgcolor='#Ffffff'>${processDefinition.professionalName}&nbsp;</td>
					</tr>
					<tr class=tr001>
						<td width=15%  align=right bgcolor='#F7F7F7'>建设类型：</td>
						<td bgcolor='#Ffffff'>${processDefinition.buildTypeName}&nbsp;</td>
					</tr>
					<tr class=tr001>
						<td width=15%  align=right bgcolor='#F7F7F7'>版本：</td>
						<td bgcolor='#Ffffff'>${processDefinition.version}&nbsp;</td>
					</tr>
					<tr class=tr001>
						<td width=15%  align=right bgcolor='#F7F7F7'>说明：</td>
						<td bgcolor='#Ffffff'>${processDefinition.remark}&nbsp;</td>
					</tr>
					<tr class=tr001>
						<td width=15%  align=right bgcolor='#F7F7F7'>创建人：</td>
						<td bgcolor='#Ffffff'>${processDefinition.creatorName}&nbsp;</td>
					</tr>
					<tr class=tr001>
						<td width=15%  align=right bgcolor='#F7F7F7'>创建日期：</td>
						<td bgcolor='#Ffffff'>${processDefinition.crtateDate}&nbsp;</td>
					</tr>
					<tr class=tr001>
						<td width=15%  align=right bgcolor='#F7F7F7'>流程定义：</td>
						<td bgcolor='#Ffffff'>
							<img src="${ctx}/${processDefinition.processImagePath}"/>
						</td>
					</tr>

				</table>
			</html:form>
		</div>
	</body>
</html>
